package com.coolwen.spring.jdbc.service;

import com.coolwen.spring.jdbc.model.Group;
import com.coolwen.spring.jdbc.model.User;

/**
 * @author CoolWen
 * @version 2020-04-16 10:02
 */
public interface UserService {
    public void add(User user, int gid);

    public void delete(int id);


    public void update(User user);

    public User load(int id);

    public void addGroupAndUser(User user, Group group);
}
